home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Pfs_OpenConnection UNKNOWN SECTION (libcalls) Pfs_OpenConnection
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- Pfs_OpenConnection - Create a pseudo-device connection to a
- pseudo-file-system
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ppddeevv..hh>>
- Pdev_Stream *
- PPffss__OOppeennCCoonnnneeccttiioonn(_p_f_s_T_o_k_e_n, _i_d_S_i_z_e, _i_d_P_t_r, _s_e_r_v_i_c_e)
-
- AARRGGUUMMEENNTTSS
- Pfs_Token *_p_f_s_T_o_k_e_n (in) Return value of PPffss__OOppeenn
- call.
-
- int _i_d_S_i_z_e (in) Size of the ID.
-
- Address _i_d_P_t_r (in) Pointer to server's name
- for this connection.
-
- Pdev_Callbacks *_s_e_r_v_i_c_e(in)
- Array of pseudo-device
- call-back procedures.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- PPffss__OOppeennCCoonnnneeccttiioonn is used to establish a pseudo-device con-
- nection in response to an open request to a pseudo-file-
- system server. The _p_f_s_T_o_k_e_n argument is the return value of
- the PPffss__OOppeenn call used to establish the server of the
- pseudo-file-system. The _i_d_P_t_r references the server's iden-
- tifier for the pseudo-device connection. If the file being
- opened is a directory then this identifier may be passed
- back as the pprreeffiixxIIDD for naming operations that are relative
- to the directory. The _s_e_r_v_i_c_e argument is a set of call-
- back procedures that are invoked by the Pdev library in
- response to subsequent operations on the file. See the
- PPddeevv__OOppeenn man page for a description of how these call-backs
- are invoked. Any of the elements of _s_e_r_v_i_c_e can be NULL
- pointers in which case a default, no-op handler is used by
- the Pdev library.
-
- The return value of PPffss__OOppeennCCoonnnneeccttiioonn is a token for the
- connection. It contains the streamID of the server's half
- of the connection on which various I/O controls can be done.
- It also contains a cclliieennttDDaattaa field for use by the caller of
- PPffss__OOppeennCCoonnnneeccttiioonn. This token is passed into all of the
- pseudo-device service call-backs.
-
- SSEEEE AALLSSOO
- Pfs_Open, Pdev_SetHandler, pdev
-
-
-
-
- Sprite v.1.0 Printed: May 14, 1989 1
-
-
-
-
-
-
- Pfs_OpenConnection UNKNOWN SECTION (libcalls) Pfs_OpenConnection
-
-
-
- KKEEYYWWOORRDDSS
- pseudo-device, pseudo-file-system, call-back
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: May 14, 1989 2
-
-
-
-